package com.zs.lib_base.bean

import androidx.databinding.BaseObservable
import java.io.Serializable

/**
 * descrition:
 */
class DynamicDetailBean: Serializable, BaseObservable() {
    var id :String?= ""
    var type:Int? = 0
    var userName:String ?=null
    var userId:String ?=null
    var followStatus:Boolean? = false
    var zanStatus:Boolean? = false
    var collect:Boolean? = false
    var deleted:String ?=null
    var publishTime:String ?=null
    var publishTimeStr:String ?=null
    var avatar:String ?=null
    var imgPath:String ?=null
    var imgCount:String ?=null
    var imgPath1:String?=null

    var imgPath2:String?=""
    var imgPath3:String?=""
    var titleName :String ?=null
    var content:String ?=null
    var texts:String ?=null
    var atName:String ?=null

    var zanCount:Int?  = 0
    var commentCount:Int? = 0
    var imgs:MutableList<String> ?= mutableListOf()
    var rightPic:String ?=null
    var downPic:String ?=null
    var forwardType:String ?=null

    var forwardId:String ?=null
    var forward: PersonPageBean.ForwardModel?=null
    var audioLength:String ?=null
    var movieLength:String ?=null
    var lengthStr:String ?=null
    var movieLengthStr:String ?=null

    var movieUrl:String ?=null
    var select:Boolean  ?= false


    var audioUrl:String ?=null
    var seq:String ?=null
    var hotListJson:String ?=null
    var atListJson:String ?=null
    var atList: ArrayList<PersonPageBean.AtList>? = null
    var hotList: ArrayList<PersonPageBean.AtList>? = null
    var recommendList: MutableList<DynamicDetailBean> ?= mutableListOf()
    var memberStatus: Boolean? = false //是否是vip

    //新增
    val movieId:String? = null
    val typeId:String ?=null
    val infoChannel:String ?=null
    val popOut:String ?=null
    val push:String ?=null
    val vipUrl:String ?=null
    val source:String ?=null
    var zan:Boolean? = false
    val bottomSource:String ?=null
    val remark:String ?=null
    val newsId:String ? = null
    var showHalf:Boolean? = false

    override fun toString(): String {
        return "DynamicDetailBean(id=$id, type=$type, userName=$userName, userId=$userId, followStatus=$followStatus, zanStatus=$zanStatus, collect=$collect, publishTime=$publishTime, publishTimeStr=$publishTimeStr, avatar=$avatar, imgPath=$imgPath, imgCount=$imgCount, imgPath1=$imgPath1, imgPath2='$imgPath2', imgPath3='$imgPath3', titleName=$titleName, content=$content, texts=$texts, atName=$atName, zanCount=$zanCount, commentCount=$commentCount, imgs=$imgs, rightPic=$rightPic, downPic=$downPic, forwardType=$forwardType, forwardId=$forwardId, forward=$forward, audioLength=$audioLength, movieLength=$movieLength, lengthStr=$lengthStr, movieUrl=$movieUrl, audioUrl=$audioUrl, seq=$seq, hotListJson=$hotListJson, atListJson=$atListJson, atList=$atList, hotList=$hotList, recommendList=$recommendList)"
    }

}